﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MVC20150125.Controllers
{
    public class HelloController : Controller
    {
        //
        // GET: /Hello/
        public ActionResult Index()
        {
            ViewBag.ThongBao = "Welcome to ASP.NET MVC5";
            return View();
        }

        public ActionResult SayHello()
        {
            return View();
        }

        public ActionResult Chao(String Id)
        {
            ViewBag.ThongBao = "Id của bạn là " + Id;
            return View("SayHello");
        }
	}
}